package com.lanou3g.k12.entity;

import java.util.Date;

public class User {
    private Long id;

    private String phone;

    private String nickname;

    private String lastname;

    private String address;

    private String school;

    private Integer gender;

    private String remark;

    private String password;

    private String email;

    private Date birthdayUser;

    private String city;

    private String wechat;

    private String nameChild;

    private String grade;

    private Date birthdayChild;

    private String sign;

    private Date createTime;

    private Date updateTime;

    private Integer status;

    private String image;

    public String getImage() {
        return image;
    }

    public void setImage(String image) {
        this.image = image;
    }

    public User(Long id, String phone, String nickname, String lastname, String address, String school, Integer gender, String remark, String password, String email, Date birthdayUser, String city, String wechat, String nameChild, String grade, Date birthdayChild, String sign, Date createTime, Date updateTime, Integer status, String image) {
        this.id = id;
        this.phone = phone;
        this.nickname = nickname;
        this.lastname = lastname;
        this.address = address;
        this.school = school;
        this.gender = gender;
        this.remark = remark;
        this.password = password;
        this.email = email;
        this.birthdayUser = birthdayUser;
        this.city = city;
        this.wechat = wechat;
        this.nameChild = nameChild;
        this.grade = grade;
        this.birthdayChild = birthdayChild;
        this.sign = sign;
        this.createTime = createTime;
        this.updateTime = updateTime;
        this.status = status;
        this.image = image;
    }

    public User() {
    }

    public Date getBirthdayChild() {
        return birthdayChild;
    }

    public void setBirthdayChild(Date birthdayChild) {
        this.birthdayChild = birthdayChild;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone == null ? null : phone.trim();
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname == null ? null : nickname.trim();
    }

    public String getLastname() {
        return lastname;
    }

    public void setLastname(String lastname) {
        this.lastname = lastname == null ? null : lastname.trim();
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address == null ? null : address.trim();
    }

    public String getSchool() {
        return school;
    }

    public void setSchool(String school) {
        this.school = school == null ? null : school.trim();
    }

    public Integer getGender() {
        return gender;
    }

    public void setGender(Integer gender) {
        this.gender = gender;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark == null ? null : remark.trim();
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password == null ? null : password.trim();
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email == null ? null : email.trim();
    }

    public Date getBirthdayUser() {
        return birthdayUser;
    }

    public void setBirthdayUser(Date birthdayUser) {
        this.birthdayUser = birthdayUser;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city == null ? null : city.trim();
    }

    public String getWechat() {
        return wechat;
    }

    public void setWechat(String wechat) {
        this.wechat = wechat == null ? null : wechat.trim();
    }

    public String getNameChild() {
        return nameChild;
    }

    public void setNameChild(String nameChild) {
        this.nameChild = nameChild == null ? null : nameChild.trim();
    }

    public String getGrade() {
        return grade;
    }

    public void setGrade(String grade) {
        this.grade = grade;
    }

    public String getSign() {
        return sign;
    }

    public void setSign(String sign) {
        this.sign = sign == null ? null : sign.trim();
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    @Override
    public String toString() {
        return "User{" +
                "id=" + id +
                ", phone='" + phone + '\'' +
                ", nickname='" + nickname + '\'' +
                ", lastname='" + lastname + '\'' +
                ", address='" + address + '\'' +
                ", school='" + school + '\'' +
                ", gender=" + gender +
                ", remark='" + remark + '\'' +
                ", password='" + password + '\'' +
                ", email='" + email + '\'' +
                ", birthdayUser=" + birthdayUser +
                ", city='" + city + '\'' +
                ", wechat='" + wechat + '\'' +
                ", nameChild='" + nameChild + '\'' +
                ", grade=" + grade +
                ", birthdayChild=" + birthdayChild +
                ", sign='" + sign + '\'' +
                ", createTime=" + createTime +
                ", updateTime=" + updateTime +
                ", status=" + status +
                ", image='" + image + '\'' +
                '}';
    }
}